@import "header.css";
@import "action.css";
@import "asside.css";
@import "footer.css";

.main_container {
	flex-direction: row-reverse;
}

.main_container .aside {
	margin-right: 0;
}

.main_container .main {
	margin-right: 15px;
}

.article_detal {
    position: relative;
    margin-bottom: 15px;
    padding: 20px;
    background: var(--background);
    border-radius: var(--radius-wrap);
    -webkit-box-shadow: var(--box-shadow);
    box-shadow: var(--box-shadow);
}

.joe_detail__category {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin-bottom: 15px;
}

.joe_detail__category .item {
    color: #fff;
    font-size: 12px;
    padding: 3px 8px;
    margin-right: 5px;
    border-radius: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 120px;
    -webkit-transition: opacity .35s,-webkit-transform .35s;
    transition: transform .35s,opacity .35s;
    transition: transform .35s,opacity .35s,-webkit-transform .35s;
}

.joe_detail__category .item:hover {
    opacity: .85;
    -webkit-transform: translate3d(0,-3px,0);
    transform: translate3d(0,-3px,0)
}

.joe_detail__category .item-0 {
    background: #0396ff;
}

.joe_detail__category .item:last-child {
    margin-right: 0;
}

.article_detail-wrapper {
	padding: 0 10px;
}

.article_detail_title {
	margin-bottom: 30px;
}

.article_detail_title.txt-shadow {
	text-shadow: var(--text-shadow);
}

.article_detail_title {
    font-size: 24px;
    color: var(--classF);
    text-align: center;
    padding-top: 15px;
    margin-bottom: 15px;
    word-break: break-word;
}

.article_detail__count {
    position: relative;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding-bottom: 15px;
    margin-bottom: 10px;
    border-bottom: 1px solid var(--classC);
}

.article_detail__count,
.article_detail__count-information {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center
}

.article_detail__count-information .avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    margin-right: 10px;
    padding: 3px;
    -o-object-fit: cover;
    object-fit: cover;
    background: var(--classC);
    border: 1px solid var(--classA);
}

.article_detail__count-information .meta {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    height: 35px;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    font-size: 12px;
}

.article_detail__count-information .meta .author .link {
    font-weight: 500;
    color: var(--theme);
}

.article_detail__count-information .meta .item {
    color: var(--minor);
    line-height: 16px;
}


.article_detail__count-information .meta .item, 
.article_detail__overdue-wrapper .title {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.article_detail__count-information .meta .item .line {
    color: var(--seat);
    margin: 0 5px;
    vertical-align: middle;
}

.article_detail__count-created {
    font-size: 32px;
    line-height: 42px;
    color: var(--routine);
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    text-shadow: var(--text-shadow);
}

.article_detail__count::after {
    content: "";
    position: absolute;
    bottom: -1.5px;
    left: 0;
    width: 80px;
    height: 3px;
    border-radius: 1.5px;
    background: var(--theme);
}

.article_detail__overdue {
    padding-top: 5px;
}



.article_detail-wrapper article {
    position: relative;
    padding: 15px 0 30px;
}

.article_detail__article {
    padding: 10px 0;
    font-size: 15px;
    word-break: break-word;
    color: var(--routine);
}

.article_detail__article blockquote, 
.article_detail__article p {
    line-height: 26px;
    /*margin-bottom: 5px;*/
    /*margin-top: 5px;*/
    margin-top: 10px;
    margin-bottom: 10px;
}

/*.article_detail__article h3,*/
/*.article_detail__article h4 {*/
/*    margin: 30px 0 18px;*/
/*}*/

/*.article_detail__article h1, */
/*.article_detail__article h2, */
/*.article_detail__article h3 {*/
/*    color: var(--main);*/
/*    line-height: 24px;*/
/*    position: relative;*/
/*}*/
/*.article_detail__article h4 {*/
/*    color: var(--main);*/
/*    line-height: 24px;*/
/*}*/


.article_detail__article h1 {
    margin: 40px 0 20px
}

.article_detail__article h1::before {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    content: "Â¶";
    top: -4px;
    margin-right: 12px;
    font-size: 24px;
    color: var(--theme)
}

.article_detail__article h2 {
    margin: 40px 0 20px;
    font-size: 1.4em
}

.article_detail__article h1, .article_detail__article h2, .article_detail__article h3 {
    color: var(--main);
}

.article_detail__article h2::before,.article_detail__article h3::before {
    top: -2px;
    left: 0;
    width: 20px;
    height: 20px;
    background-size: auto 100%;
    background-image: url()
}

.article_detail__article h3 {
    margin: 30px 0 18px;
    font-size: 1.3em
}

.article_detail__article h3::before {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    content: "";
    top: -3px;
    margin-right: 8px;
    background-position: center;
    background-repeat: none;
    background-image: url()
}

.article_detail__article h4 {
    font-size: 1.18em
}

.article_detail__article h2::before,.article_detail__article h4::before,.article_detail__article h5::before,.article_detail__article h6::before {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    content: "";
    margin-right: 6px;
    background-position: center;
    background-repeat: none;
}

.article_detail__article h4::before {
    top: -2px;
    width: 22px;
    height: 22px;
    color: var(--theme);
    background-size: auto 100%;
    background-image: url()
}

.article_detail__article h5,.article_detail__article h6 {
    font-size: 1em
}

.article_detail__article h5::before,.article_detail__article h6::before {
    top: -1px;
    left: 0;
    width: 18px;
    height: 18px;
    background-size: 100% 100%;
    background-image: url()
}

.article_detail__article h6::before {
    width: 16px;
    height: 16px;
    background-size: auto 100%;
    background-image: url()
}

.article_detail__article hr {
    border: 0;
    height: 1px;
    background-color: var(--classB);
    margin-bottom: 18px
}

.article_detail__article blockquote {
    padding: 8px 15px;
    color: var(--routine);
    background: var(--classD);
    border-left: 5px solid var(--quote);
    border-radius: var(--radius-inner);
}

.article_detail__article blockquote p {
    margin-top: 5px;
    margin-bottom: 5px;
}

.article_detail__article h4,.article_detail__article h5,.article_detail__article h6 {
    color: var(--main);
    line-height: 24px;
    margin-bottom: 18px;
    margin-top: 18px;
    position: relative
}








.article_detail__article a:not([class]) {
    display: inline-block;
    line-height: 26px;
    text-indent: 0;
    color: var(--theme);
    position: relative;
}







.article_detail__article ol, 
.article_detail__article ul {
    margin-bottom: 18px;
    padding-left: 36px;
}

/* .article_detail__article .code-toolbar {
    position: relative;
    margin: 20px 0;
    overflow: hidden;
    -webkit-box-shadow: 1px 1px 5px 0 var(--shadow-code);
    box-shadow: 1px 1px 5px 0 var(--shadow-code);
    border-radius: 8px;
} */

.main_container img {
    width: 100%;
}


.article_detail-wrapper article ul,
.article_detail-wrapper article ul li {
    list-style: inherit;
    line-height: 1.6;
    margin: 0.5em 0;
}


.article_detail-wrapper article ol,
.article_detail-wrapper article ol li {
    list-style: auto;
    line-height: 1.6;
    margin: 0.5em 0;
}












































.joe_container pre {
    position: fixed;
}
.joe_container pre code {
    display: block;
    line-height: 1;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.default-theme code:not([class]) {
    color: #3594f7;
    background-color: rgba(59, 170, 250, .1);
    display: inline-block;
    padding: 0 4px;
    border-radius: 2px;
    line-height: 22px;
    z-index: -1
}

/* 
.main_container code:not([class]) {
    display: inline-block;
    font-size: 13px;
    color: var(--code);
    margin: 2px 5px;
    padding: 0 8px;
    white-space: normal;
    text-indent: 0;
    -webkit-user-select: auto;
    -moz-user-select: auto;
    -ms-user-select: auto;
    user-select: auto;
    vertical-align: baseline;
    word-break: break-word;
    background: var(--code-background);
    border-radius: var(--radius-inner)
}

.main_container .code-toolbar {
    position: relative;
    margin: 20px 0;
    overflow: hidden;
    -webkit-box-shadow: 1px 1px 5px 0 var(--shadow-code);
    box-shadow: 1px 1px 5px 0 var(--shadow-code);
    border-radius: 8px
}

.main_container .code-toolbar .toolbar {
    pointer-events: none;
    display: none;
    opacity: 1;
    left: 0;
    right: 0;
    top: 0;
    z-index: unset;
    height: 30px;
    line-height: 30px;
    text-align: center
}

.main_container .code-toolbar .toolbar .toolbar-item {
    opacity: 1;
    pointer-events: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none
}

.main_container .code-toolbar .toolbar .toolbar-item span {
    font-weight: 700;
    font-size: 14px;
    color: #999;
    background: 0 0;
    border: 0;
    -webkit-box-shadow: none;
    box-shadow: none
}

.main_container .code-toolbar .toolbar .toolbar-item span:hover {
    color: #999
}

.main_container .code-toolbar .toolbar .toolbar-item:last-child {
    display: none
}

.main_container .code-toolbar .toolbar .autofold-tip {
    padding-left: 5px;
    font-size: 12px
}

.main_container .code-toolbar pre[class*=language-] {
    position: relative;
    margin: 0;
    padding: 20px 0 0;
    -webkit-user-select: auto;
    -moz-user-select: auto;
    -ms-user-select: auto;
    user-select: auto;
    font-size: 16px;
    overflow: hidden;
    white-space: pre;
    text-shadow: none;
    border-radius: 8px
}

.main_container .code-toolbar pre[class*=language-] code[class*=language-] {
    display: block;
    margin-bottom: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    padding: 0 12px 12px 18px;
    border-radius: 0 0 8px 8px;
    text-shadow: none
}

.main_container .code-toolbar pre[class*=language-] code[class*=language-] .token.operator,.main_container .code-toolbar pre[class*=language-] code[class*=language-] .token.string {
    background: 0 0
}

.main_container .code-toolbar pre[class*=language-] .line-numbers-rows {
    left: 0;
    top: 0;
    bottom: 0;
    padding-top: 12px;
    border: 0
}

.main_container .code-toolbar pre[class*=language-] .code-expander,.main_container .code-toolbar pre[class*=language-] .copy-button {
    cursor: pointer;
    position: absolute;
    right: 10px;
    top: 5px;
    z-index: 2;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    font-size: 14px;
    color: #999;
    -webkit-transition: all .25s;
    transition: all .25s
}

.main_container .code-toolbar pre[class*=language-] .code-expander:hover,.main_container .code-toolbar pre[class*=language-] .copy-button:hover {
    -webkit-filter: brightness(1.2);
    filter: brightness(1.2)
}

.main_container .code-toolbar pre[class*=language-] .copy-button {
    top: 3px;
    z-index: 5;
    font-weight: 700;
    -webkit-transition: opacity .25s;
    transition: opacity .25s
}

.main_container .code-toolbar pre[class*=language-].c_title+.toolbar {
    display: block
}

.main_container .code-toolbar pre[class*=language-].c_title code {
    padding: 12px 12px 12px 18px
}

.main_container .code-toolbar pre[class*=language-].c_hr {
    padding: 30px 0 0
}

.main_container .code-toolbar pre[class*=language-].c_hr:after {
    position: absolute;
    top: 30px;
    z-index: 1;
    content: "";
    width: 100%;
    height: 1px;
    background: #d8d8d8;
    mix-blend-mode: overlay
}

.main_container .code-toolbar pre[class*=language-].c_hr code {
    padding: 12px 12px 14px 18px
}

.main_container .code-toolbar pre[class*=language-].c_macdot:before {
    content: "";
    position: absolute;
    top: 9px;
    left: 12px;
    z-index: 1;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #fc625d;
    -webkit-box-shadow: 20px 0 #fdbc40,40px 0 #35cd4b;
    box-shadow: 20px 0 #fdbc40,40px 0 #35cd4b
}

.main_container .code-toolbar pre[class*=language-].c_newline code {
    white-space: pre-wrap;
    word-break: break-all
}

.main_container .code-toolbar pre[class*=language-].c_hover_tools .code-expander,.main_container .code-toolbar pre[class*=language-].c_hover_tools .copy-button {
    pointer-events: none;
    opacity: 0
}

.main_container .code-toolbar pre[class*=language-].c_hover_tools:hover .code-expander,.main_container .code-toolbar pre[class*=language-].c_hover_tools:hover .copy-button {
    pointer-events: auto;
    opacity: 1
}

.main_container .code-toolbar pre[class*=language-].c_copy,.main_container .code-toolbar pre[class*=language-].c_copy code {
    -webkit-user-select: auto;
    -moz-user-select: auto;
    -ms-user-select: auto;
    user-select: auto;
}

.main_container .code-toolbar pre[class*=language-].c_copy .code-expander {
    right: 40px
}

.main_container .code-toolbar pre[class*=language-].line-numbers code {
    padding: 12px 12px 16px 54px
}

.main_container .code-toolbar pre[class*=language-].close {
    height: 30px
}

.main_container .code-toolbar pre[class*=language-].close .code-expander {
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg)
}

.main_container .code-toolbar pre[class*=language-].close:after {
    visibility: hidden
} */

pre {
    position: relative;
}

pre code {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

pre code[language]:before {
    content: attr(language);
    font-size: 12px;
    position: absolute;
    top: 11px;
    right: 50px;
    line-height: 1;
}

.article_detail__article pre:before {
    content: "";
    display: block;
    background: url();
    height: 32px;
    width: 100%;
    background-size: 40px;
    background-repeat: no-repeat;
    background-color: var(--default-theme-code-before-bg-color);
    margin-bottom: 0;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    background-position: 10px 10px;
}

.article_detail__article pre:after {
    position: absolute;
    top: 32px;
    left: 5px;
    right: 5px;
    z-index: 1;
    content: "";
    height: 1px;
    /* width: 99%; */
    background: #d8d8d8;
    mix-blend-mode: overlay;
}

.article_detail__article .copy-button {
    position: absolute;
    font-size: 12px;
    top: 5px;
    right: 10px;
    cursor: pointer;
    line-height: 1;
}

.article_detail__article pre .copy-button {
    color: var(--default-theme-code-block-color);
}

.article_detail__article .copy-button:before, 
.article_detail__article .copy-button:after {
    visibility: hidden;
    transition: .3s;
}

.article_detail__article .copy-button:before {
    content: attr(data-tips);
    color: var(--md-theme-code-copy-tips-color);
    background-color: var(--md-theme-code-copy-tips-bg-color);
    position: absolute;
    font-size: 12px;
    font-family: sans-serif;
    width: max-content;
    text-align: center;
    padding: 4px;
    border-radius: 2px;
    box-shadow: 0 0 2px #0003;
    left: 0;
    top: 50%;
    transform: translate(-100%,-50%);
}

.md-editor-icon {
    width: 20px;
    height: 24px;
    fill: currentColor;
    overflow: hidden;
}





















/*点赞部分样式*/
.joe_detail__agree,.joe_detail__agree .agree .icon,.joe_detail__operate,.joe_detail__operate-tags {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center
}

.joe_detail__agree .agree {
    text-align: center;
    font-size: 12px;
    color: var(--minor);
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.joe_detail__agree .agree .icon {
    cursor: pointer;
    position: relative;
    width: 42px;
    height: 42px;
    margin-bottom: 8px;
    background: #f56c6c;
    border-radius: 50%;
}

.joe_detail__agree,.joe_detail__agree .agree .icon {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center
}

.joe_action_item.mode svg.active, .joe_detail__agree .agree .icon .joe-font.active {
    -webkit-transform: scale(1);
    transform: scale(1);
    opacity: 1;
}

.joe_detail__agree .agree .icon .joe-font {
    position: absolute;
    opacity: 0;
    font-size: 26px;
    color: #fff;
    -webkit-transform: scale(0);
    transform: scale(0);
    -webkit-transition: opacity .85s,-webkit-transform .85s;
    transition: transform .85s,opacity .85s;
    transition: transform .85s,opacity .85s,-webkit-transform .85s;
}

.joe_detail__agree {
    margin: 30px 0 10px
}

.joe-icon-like:before {
    content: "\e608";
}

.joe-icon-like-fill:before {
    content: "\e607";
}

.like_animated {
    animation: moveAnimation 2s infinite;
}

@keyframes moveAnimation {
    0% { transform: translateX(0); }
    50% { transform: translateX(200px); }
    100% { transform: translateX(0); }
}

.like_interactive {
    transition: border 0.3s ease;
}
  
.like_highlight {
    border: 2px solid yellow;
}



/*标签、以及分享样式*/
.joe_detail__operate {
    margin-bottom: 15px;
    padding-top: 20px;
    color: var(--routine);
}

.joe_detail__operate-tags {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    overflow-x: auto;
    margin-right: 5px;
}


.joe_detail__operate-tags a {
    -ms-flex-negative: 0;
    flex-shrink: 0;
    position: relative;
    margin-right: 10px;
    font-size: 12px;
    background-color: var(--classD);
    color: var(--minor);
    border: 1px solid var(--classD);
    padding-right: 8px;
    padding-left: 29px;
    height: 26px;
    line-height: 26px;
    border-radius: 13px;
    max-width: 125px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-transition: border .25s,color .25s;
    transition: border .25s,color .25s;
}

.joe_detail__operate-tags a:last-child, .joe_detail__operate-tags a:nth-child(5) {
    margin-right: 0;
}

.joe_detail__operate-tags a::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 24px;
    height: 24px;
    background: var(--background);
    border-radius: 50%;
}

.joe_detail__operate-tags a::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 12px;
    -webkit-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
    width: 12px;
    height: 12px;
    background: url() no-repeat;
    background-size: 100% 100%;
}


/*版权*/
.joe_detail__copyright {
    padding-top: 15px;
    border-top: 1px solid var(--classC);
}

.joe_detail__copyright .content {
    background: var(--classD);
    padding: 15px;
    border-radius: var(--radius-inner);
}

.joe_detail__copyright .content .item {
    color: var(--minor);
    margin-bottom: 5px;
    word-break: break-word;
    line-height: 22px;
}

.joe_detail__copyright .content .item .icon {
    width: 18px;
    height: 18px;
    margin-right: 3px;
    vertical-align: -4px;
}